{% load static %}
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title></title>
	<link rel="stylesheet" type="text/css" href="{%static 'bootstrap-3.3.7-dist/css/bootstrap.min.css'%}">
	<link rel="stylesheet" href="{%static 'css/style.css'%}">
</head>
<body>
	<div id="wrapper">
        <div class="overlay"></div>
        <!-- Sidebar -->
        <nav class="navbar navbar-inverse navbar-fixed-top" id="sidebar-wrapper" role="navigation">
            <ul class="nav sidebar-nav">
                <li class="sidebar-brand">
                    <a href="#">
                       功能菜单
                    </a>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i>&emsp;学生-个人中心&nbsp;<span class="caret"></span></a>
                  <ul class="dropdown-menu" role="menu">                   
                    <li><a href="{% url 'login:login'%}">登录</a></li>
                    <li><a href="{% url 'login:zhuce'%}">注册</a></li>
                  </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i>&emsp;老师-个人中心&nbsp;<span class="caret"></span></a>
                  <ul class="dropdown-menu" role="menu">                   
                    <li><a href="#">登录</a></li>
                    <li class="divider"></li>
                    <li><a href="#">注册</a></li>
                  </ul>
                </li>
                <li>
                    <a href="#"><i class="glyphicon glyphicon-lock"></i>&emsp;管理员-个人中心</a>
                </li>          
                <li>
                    <a href="{% url 'paper:tixing'%}"><i class="glyphicon glyphicon-file"></i>&emsp;考试中心</a>
                </li>
                <li class="dropdown">
                  <a href="#"><i class="glyphicon glyphicon-eye-open"></i>&emsp;阅卷中心</a>
                </li>
                <li>
                    <a href="#"><i class="glyphicon glyphicon-folder-close"></i>&emsp;试题库</a>
                </li>
                <li>
                    <a href="{% url 'paper:index'%}"><i class="glyphicon glyphicon-off"></i>&emsp;回到首页</a>
                </li>               
            </ul>
        </nav>
        <!-- /#sidebar-wrapper -->
        <!-- Page Content -->
        <div id="page-content-wrapper">
          <button type="button" class="hamburger is-closed animated fadeInLeft" data-toggle="offcanvas">
            <span class="hamb-top"></span>
            <span class="hamb-middle"></span>
            <span class="hamb-bottom"></span>
          </button>
            <div class="container">
                <div class="row">
                    <div class="col-lg-8 col-lg-offset-2">
                        <h1 class="page-header">你好，亲爱的老师/同学：</h1>  
                        <p class="lead" style="font-size: 50px;">欢迎您使用本系统，请点击左上角的菜单按钮来选择您需要的功能。</p>                                                                                                                          
                    </div>
                </div>
            </div>
        </div>
        <!-- /#page-content-wrapper -->

    </div>
    <!-- /#wrapper -->
	
	<script src="{%static 'js/jquery-3.3.1.min.js'%}"></script>
	<script src="{%static 'bootstrap-3.3.7-dist/js/bootstrap.min.js'%}"></script>
	<script type="text/javascript">
		$(document).ready(function () {
		  var trigger = $('.hamburger'),
		      overlay = $('.overlay'),
		     isClosed = false;
		    trigger.click(function () {
		      hamburger_cross();      
		    });
		    function hamburger_cross() {
		      if (isClosed == true) {          
		        overlay.hide();
		        trigger.removeClass('is-open');
		        trigger.addClass('is-closed');
		        isClosed = false;
		      } else {   
		        overlay.show();
		        trigger.removeClass('is-closed');
		        trigger.addClass('is-open');
		        isClosed = true;
		      }
		  }
		  $('[data-toggle="offcanvas"]').click(function () {
		        $('#wrapper').toggleClass('toggled');
		  });  
		});
	</script>
</body>
</html>